package com.lk.modules.yw.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lk.modules.yw.service.TestService;

@Controller
@RequestMapping("test")
public class TestController {
	
	@Autowired
	private TestService serv;
	
	@RequestMapping("getName")
	@ResponseBody
	public String getName() {
		return serv.getName();
	}
}
